package com.heima.api.wemedia;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.media.dtos.WmMaterialDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.multipart.MultipartFile;

@Api(tags = "媒资素材管理",value = "媒资素材管理")
public interface WmMaterialControllerApi {
    @ApiOperation("上传素材")
    ResponseResult uploadPicture(MultipartFile multipartFile);
    @ApiOperation("查询素材列表")
    ResponseResult findList(WmMaterialDto wmMaterialDto);
    @ApiOperation("根据素材ID删除素材")
    ResponseResult delPicture(Integer id);
    @ApiOperation("取消收藏素材")
    ResponseResult cancelCollectMaterial(Integer id);
    @ApiOperation("收藏素材")
    ResponseResult collectMaterial(Integer id);
}
